.Net Framework > v2.0.50727 > System > Messaging > MessageEnumerator > RemoveCurrent RemoveCurrent()
RemoveCurrent(MessageQueueTransaction)
RemoveCurrent(MessageQueueTransactionType)
RemoveCurrent(TimeSpan)
RemoveCurrent(TimeSpan,MessageQueueTransaction)
RemoveCurrent(TimeSpan,MessageQueueTransactionType)


RemoveCurrent()

Category
Method
Description
Removes the current message from a transactional or non-transactional queue and returns the message to the calling application. There is no timeout specified for a message to arrive in the queue.
Type
Message
Character
public
Tags
01892ABD01, 02E3ABA98D, 0376596F91

RemoveCurrent(MessageQueueTransaction)

Category
Method
Description
Removes the current message from a transactional queue and returns the message to the calling application. There is no timeout specified for a message to arrive in the queue.
Type
Message
Character
public
Parameters
NameTypeDescription
transactionMessageQueueTransaction
Tags
01892ABD01, 02E3ABA98D, 0376596F91

RemoveCurrent(MessageQueueTransactionType)

Category
Method
Description
Removes the current message from a queue and returns the message to the calling application. There is no timeout specified for a message to arrive in the queue.
Type
Message
Character
public
Parameters
NameTypeDescription
transactionTypeMessageQueueTransactionType
Tags
01892ABD01, 02E3ABA98D, 0376596F91

RemoveCurrent(TimeSpan)

Category
Method
Description
Removes the current message from the queue and returns the message to the calling application. If there is a message to remove, the method returns it immediately. Otherwise, the method waits the specified timeout for a new message to arrive.
Type
Message
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
Tags
01892ABD01, 02E3ABA98D, 0376596F91

RemoveCurrent(TimeSpan,MessageQueueTransaction)

Category
Method
Description
Removes the current message from a transactional queue and returns the message to the calling application. If there is a message to remove, the method returns it immediately. Otherwise, the method waits the specified timeout for a new message to arrive.
Type
Message
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
transactionMessageQueueTransaction
Tags
01892ABD01, 02E3ABA98D, 0376596F91

RemoveCurrent(TimeSpan,MessageQueueTransactionType)

Category
Method
Description
Removes the current message from a queue and returns the message to the calling application. If there is a message to remove, the method returns it immediately. Otherwise, the method waits the specified timeout for a new message to arrive.
Type
Message
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
transactionTypeMessageQueueTransactionType
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database